package com.dgut.edu.cn.design.mode.strategy.compare;


import com.dgut.edu.cn.design.mode.strategy.StrategyAnnotation;
import com.dgut.edu.cn.design.mode.strategy.StrategyType;
import org.springframework.stereotype.Service;

/**
 * @description:
 * @author: hongbin.zheng
 * @create: 2023-07-17 16:50
 **/
@Service
@StrategyAnnotation(strategyType = StrategyType.priceCompare, dataType = "secondPriceCompare")
public class SecondPriceCompareStrategy implements PriceCompareStrategy {
	@Override
	public String doPriceCompare() {
		System.out.println("-------second price compare start---------");
		System.out.println("-------do do do ---------");
		System.out.println("-------second price compare end---------");
		return "second price compare end";
	}
}
